package models_main

import (
	"fmt"
	"longmen/server/pkg/db/mysql/models"
)

type NewsCategory struct {
	ID           int `gorm:"primaryKey"`
	CategoryName string
	Sort         int
	Disabled     int
}

func (NewsCategory) TableName() string {
	return fmt.Sprintf("%snews_category", models.Prefix)
}
